package pong.ui.element;

import java.awt.Graphics;
import java.awt.Point;

import javax.swing.JPanel;

@SuppressWarnings("serial")
public abstract class PongElement extends JPanel{
	
	protected Point position = new Point();
	
	public Point getPosition() {
		return position;
	}
	
	abstract public void draw(Graphics g);
}
